﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="step3.aspx.cs" Inherits="JumbotCms.Install._step3" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title>管理员设置 - JumbotCms简易在线安装</title>
<link type="text/css" rel="stylesheet" href="../admin/otherpage/styles/common.css" />
<script type="text/javascript" src="../_data/SysConfig.js?time=New Date()"></script>
<script type="text/javascript" src="../_libs/jquery-min.js"></script>
<script type="text/javascript" src="../scripts/jumbotcms.js?v4"></script>
<link type="text/css" rel="stylesheet" href="../style/global.css" />
<link rel="stylesheet" href="../_libs/jquery.tabs/style.css"
        type="text/css">
<!--[if lte IE 7]>
<link type="text/css" rel="stylesheet" href="../_libs/jquery.tabs/style-ie.css">
<![endif]-->
<link type="text/css" rel="stylesheet" href="../_libs/jquery.formvalidator/style.css" />
<script type="text/javascript" src="../_libs/jquery.formvalidator.js"></script>

<script type="text/javascript">
$(document).ready(function(){
	$.formValidator.initConfig({onError:function(msg){}});
	$("#txtEmail")
		.formValidator({tipid:"tipEmail",onshow:"邮箱用以找回密码",onfocus:"8-50个字符",oncorrect:""})
		.InputValidator({min:8,max:50,onerror:"邮箱非法,请确认"})
		.RegexValidator({regexp:"email",datatype:"enum",onerror:"格式不正确"});
	$("#txtUserName")
		.formValidator({tipid:"tipUserName",onshow:"",onfocus:"可以是中文、英文、数字、-、_",oncorrect:""})
		.InputValidator({min:4,max:20,onerror:"4-20个字符,一个汉字为2个字符"})
		.RegexValidator({regexp:"username",datatype:"enum",onerror:"汉字或字母开头,不支持符号"});
	$("#txtUserPass1").formValidator({tipid:"tipUserPass1",onshow:"默认为：user888",onfocus:"请输入6-14位密码",oncorrect:""}).InputValidator({min:6,max:14,onerror:"密码6-14位"});
	$("#txtUserPass2").formValidator({tipid:"tipUserPass2",onshow:"",onfocus:"两次密码必须一致",oncorrect:""}).InputValidator({min:6,max:14,onerror:"重复密码6-14位,请确认"}).CompareValidator({desID:"txtUserPass1",operateor:"=",onerror:"2次密码不一致,请确认"});
	$("#txtAdminName")
		.formValidator({tipid:"tipAdminName",onshow:"",onfocus:"可以是中文、英文、数字、-、_",oncorrect:""})
		.InputValidator({min:4,max:20,onerror:"4-20个字符,一个汉字为2个字符"})
		.RegexValidator({regexp:"username",datatype:"enum",onerror:"汉字或字母开头,不支持符号"});
	$("#txtAdminPass1").formValidator({tipid:"tipAdminPass1",onshow:"默认为：admin888",onfocus:"请输入6-14位密码",oncorrect:""}).InputValidator({min:6,max:14,onerror:"密码6-14位"});
	$("#txtAdminPass2").formValidator({tipid:"tipAdminPass2",onshow:"",onfocus:"两次密码必须一致",oncorrect:""}).InputValidator({min:6,max:14,onerror:"重复密码6-14位,请确认"}).CompareValidator({desID:"txtAdminPass1",operateor:"=",onerror:"2次密码不一致,请确认"});
});
</script>
</head>
<body>
<form id="form1" runat="server" onsubmit="return jQuery.formValidator.PageIsValid('1')">
	<div style="width:770px;margin:10px auto;">
		<div class="toplogo">
			<div class="logo"> <img src="../_data/style/logo.jpg" /> </div>
		</div>
		<div>
			<ul class="tabs-nav">
				<li><a href="#"><span>管理员设置</span></a></li>
			</ul>
		</div>
		<div class="tabs-container">
			<table class="formtable">
					<tr>
						<th>Email地址</th>
						<td><input type="text" style="width:160px;" type="text" name="txtEmail" id="txtEmail" value="4259024@qq.com" />
						<div class="ValidatorTip" id="tipEmail" style="width:200px"></div></td>
					</tr>
					<tr>
						<th>前台用户名</th>
						<td><input type="text" style="width:160px;" name="txtUserName" id="txtUserName" value="jumbot" />
						<div class="ValidatorTip" id="tipUserName" style="width:200px"></div></td>
					</tr>
					<tr>
						<th>前台密码</th>
						<td><input type="password" style="width:160px;" name="txtUserPass1" id="txtUserPass1" value="user888" />
						<div class="ValidatorTip" id="tipUserPass1" style="width:200px"></div></td>
					</tr>
					<tr>
						<th>确认密码</th>
						<td><input type="password" style="width:160px;" name="txtUserPass2" id="txtUserPass2" value="user888" />
						<div class="ValidatorTip" id="tipUserPass2" style="width:200px"></div></td>
					</tr>
					<tr>
						<th>后台用户名</th>
						<td><input type="text" style="width:160px;" name="txtAdminName" id="txtAdminName" value="jumbot" />
						<div class="ValidatorTip" id="tipAdminName" style="width:200px"></div></td>
					</tr>
					<tr>
						<th>后台密码</th>
						<td><input type="password" style="width:160px;" name="txtAdminPass1" id="txtAdminPass1" value="admin888" />
						<div class="ValidatorTip" id="tipAdminPass1" style="width:200px"></div></td>
					</tr>
					<tr>
						<th>确认密码</th>
						<td><input type="password" style="width:160px;" name="txtAdminPass2" id="txtAdminPass2" value="admin888" />
						<div class="ValidatorTip" id="tipAdminPass2" style="width:200px"></div></td>
					</tr>
			</table>
		</div>
	</div>
	<div class="buttonok">
		<asp:Button ID="Button1" runat="server" Text="保存" CssClass="btnsubmit" OnClick="Button1_Click" />
	</div>
</form>
</body>
</html>
